package com.soboot.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.soboot.base.model.BaseExtEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author:
 * @createTime: 2022年09月21日 10:15:55
 * @version:
 * @Description: 菜单信息vo
 * @Copyright:
 */
@Data
@ApiModel("MenuVO")
public class MenuVO extends BaseExtEntity {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "父菜单ID")
    private Integer parentId;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "路由地址")
    private String menuPath;

    @ApiModelProperty(value = "组件路径")
    private String menuComponent;

    @ApiModelProperty(value = "是否外链")
    private String menuRedirect;

    @ApiModelProperty(value = "权限标识")
    private String menuPerms;

    @ApiModelProperty(value = "菜单图标")
    private String menuIcon;

    @ApiModelProperty(value = "菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @ApiModelProperty(value = "编码")
    private String menuCode;

    @ApiModelProperty(value = "菜单状态（1显示 0隐藏）")
    private String menuHidden;

    @ApiModelProperty(value = "显示顺序")
    private Integer menuSort;
}
